//
//  LMCommentCell.m
//  EPA
//
//  Created by lanou3g on 16/4/26.
//  Copyright © 2016年 liman. All rights reserved.
//

#import "LMCommentCell.h"

@interface LMCommentCell ()
@property (weak, nonatomic) IBOutlet UILabel *detailLabel;
@property (weak, nonatomic) IBOutlet UIImageView *userImageView;
@property (weak, nonatomic) IBOutlet UILabel *userNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *dateLabel;

@end


@implementation LMCommentCell

- (void)awakeFromNib {
    // Initialization code
}
-(void)layoutSubviews{
    self.detailLabel.text = self.model.content;
    
    [self.userImageView sd_setImageWithURL:[NSURL URLWithString:self.model.icon]];
    
    self.userNameLabel.text =  self.model.uname;
    self.dateLabel.text   = self.model.addtime_f;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
